jquery accept only excel file

119

jquery accept only excel file -

<input type="file" ID="fileSelect" accept=".xlsx, .xls, .csv"/>

input type file csv only -

<input type="file" id="img" name="img" accept=".csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel">

html input file type csv -

<input id="fileSelect" type="file" accept=".csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel" />  

Comments

Submit
0 Comments